package com.Isb.Golf.inputgolfscore.data;

import android.text.format.Time;
import com.Isb.Golf.inputgolfscore.data.CourseData;

public class DataManager {

	private CourseData courseData = null;

	public DataManager(){
		courseData = new CourseData();
	}

	public void setDate(Time aTime){
		courseData.setTodayTime(aTime);
	}

	public void setCourseName(String name){
		courseData.setCourseName(name);
	}

	public void setPlayerInfomation(String PlayerName){
		courseData.setPlayerName(PlayerName);
	}

	public void setCourseDataInfomation(int holeNo, int holePar, int holeHDC){
		courseData.setCourseTee(holeNo, holePar);
		courseData.setCourseHDC(holeNo, holeHDC);
	}
}
